package com.franklin.java.api.mybatis.dom.model.nested;

import com.intellij.util.xml.DomElement;
import com.intellij.util.xml.SubTag;
import com.intellij.util.xml.SubTagList;

import java.util.List;

/**
 * @author Franklin
 * @since 2021/08/20 23:53
 */
public interface Choose extends DomElement {

    @SubTagList("when")
    List<When> getWhens();

    @SubTag("otherwise")
    Otherwise getOtherwise();

}
